import {$get,$post,$put,$delete} from './request'

export const $roomSearch = async (params)=>{
    //
    
    let data = await $get('/MeetingRoom/getList', params)
    console.log(data,"roomSearch")
    return data;

}

export const $roomAdd = async (params)=>{
    //
    let data = await $post('/MeetingRoom/AddRoom', params)
    console.log(data,"roomAdd")
    return data;

}

export const $roomUpdate = async (params)=>{
    //console.log(params,"params")
    console.log(params,"params")
    let data = await $put('/MeetingRoom/UpdateRoom', params)
    console.log(data,"roomUpdate")
    return data;

}

export const $roomDelete = async (params)=>{
    //
    console.log(params,"params")
    let data = await $put('/MeetingRoom/DeleteRoom', params)
    
    console.log(data,"roomDelete")
    return data;

}